home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1999 January / PC Plus Super CD No55a (PCP-147A-1-99) (Disc 1) (1998).iso / full / cbuilder / SAMS / SAMPLES / CHAP06 / PICTVIEW.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-12  |  707 b   |  19 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------------
  5. USEFORM("ViewMain.cpp", MainForm);
  6. USEFORM("MDIChild.cpp", Child);
  7. USEFORM("Pvabout.cpp", AboutBox);
  8. //---------------------------------------------------------------------------
  9. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  10. {
  11.     Application->Initialize();
  12.     Application->CreateForm(__classid(TMainForm), &MainForm);
  13.         Application->CreateForm(__classid(TAboutBox), &AboutBox);
  14.         Application->Run();
  15.  
  16.     return 0;
  17. }
  18. //---------------------------------------------------------------------------
  19.